<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>个人中心</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="Cache-Control" content="no-transform">
		<meta name="format-detection" content="telephone=no">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<link rel="stylesheet" href="style/css/basic.css" />
		<link rel="stylesheet" href="style/css/agent_my.css" />
		<script type="text/javascript" src="style/plugin/mui/js/mui.min.js"></script>
		<script type="text/javascript" src="style/js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="style/mockjs/dist/mock.js"></script>
		<script type="text/javascript" src="style/js/vue.min.js"></script>
		<script type="text/javascript" src="style/js/vue-resource.js"></script>
		<script type="text/javascript" src="style/js/basic.js"></script>
	</head>
	<body> 
		<div id="contact">
			<div id="header">
				<h1>联系客服</h1> 
				<span class="backicon"></span>
			</div>
			<div v-html="contactMsg.content"></div> 
		</div>
		<script>
			new Vue({
				el:"#contact",
				data:{
					contactMsg:"",
					ticket:"",
				    sign:""
				},
				created:function(){
					this.ticket=localStorage.getItem("tick")
                    this.sign=localStorage.getItem("sig")
					this.$http.post(domain+"/service/getOne?t="+this.ticket+"&sign="+this.sign,{emulateJSON:true}).then(//获取新闻列表
			            function (res) {
			                // 处理成功的结果
			                if(res.body.code==1){
			                  console.log(res.body)	
			                  this.contactMsg=res.body.data;
			                } 
			            },function (res) {
			            // 处理失败的结果
			            console.log(res)   
			            }
			        );
				}
			})
		</script>
	</body>
</html>
